package ex8;

public class Demo1 {

	public static void main(String[] args) {
     SimpleThread sThread1=new SimpleThread("a thread");
     SimpleThread sThread2=new SimpleThread("b thread");
     SimpleThread sThread3=new SimpleThread("go to hefei");
     sThread1.start();
     sThread2.start();
     sThread3.start();
     
     
	}
	//线程执行顺序是随机的
	//创建线程步骤：
	/*1。继承Thread 
	 * 2.重写run()方法 
	 * 3.通过start()启动多线程
	 */
	
	

}
